Optimal. Leaf size=38 \[ \frac{x \log (x)}{a \sqrt{c x^2}}-\frac{x \log (a+b x)}{a \sqrt{c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0071107, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.235, Rules used = {15, 36, 29, 31} \[ \frac{x \log (x)}{a \sqrt{c x^2}}-\frac{x \log (a+b x)}{a \sqrt{c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 36
Rule 29
Rule 31
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{c x^2} (a+b x)} \, dx &=\frac{x \int \frac{1}{x (a+b x)} \, dx}{\sqrt{c x^2}}\\ &=\frac{x \int \frac{1}{x} \, dx}{a \sqrt{c x^2}}-\frac{(b x) \int \frac{1}{a+b x} \, dx}{a \sqrt{c x^2}}\\ &=\frac{x \log (x)}{a \sqrt{c x^2}}-\frac{x \log (a+b x)}{a \sqrt{c x^2}}\\ \end{align*}
Mathematica [A] time = 0.0035858, size = 25, normalized size = 0.66 \[ \frac{x (\log (x)-\log (a+b x))}{a \sqrt{c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 24, normalized size = 0.6 \begin{align*}{\frac{x \left ( \ln \left ( x \right ) -\ln \left ( bx+a \right ) \right ) }{a}{\frac{1}{\sqrt{c{x}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.82093, size = 147, normalized size = 3.87 \begin{align*} \left [\frac{\sqrt{c x^{2}} \log \left (\frac{x}{b x + a}\right )}{a c x}, \frac{2 \, \sqrt{-c} \arctan \left (\frac{\sqrt{c x^{2}}{\left (2 \, b x + a\right )} \sqrt{-c}}{a c x}\right )}{a c}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c x^{2}} \left (a + b x\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10163, size = 80, normalized size = 2.11 \begin{align*} \frac{\log \left ({\left | -{\left (\sqrt{c} x - \sqrt{c x^{2}}\right )} b - 2 \, a \sqrt{c} \right |}\right )}{a \sqrt{c}} - \frac{\log \left ({\left | -\sqrt{c} x + \sqrt{c x^{2}} \right |}\right )}{a \sqrt{c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]